import alg
import gen
import random


def main():
    print(r'请输入测试的数量：')
    numb=int(input())
    for i in range(numb):
        nums=gen.gen_nums()
        print(f'数组{nums}')
        sol=alg.Solution()
        jum=sol.jump(nums)
        print(f'跳跃次数为{jum}')

if __name__ == '__main__':
    main()




